<template>
<div>
  <ul>
    <li>商品：{{xq.name}}&收货地址：{{xq.earea}}&发货地址：{{xq.sarea}}&手机号：{{xq.user_mobile}}</li>
    <li v-if="xq.status==1">未发货</li>
    <li v-else>已发货</li>
  </ul>
</div>
</template>

<script>
export default {
name: "xiang",
  data(){
  return{
    xq:'',
    name :this.$route.query.name
    }
  },
  methods:{
    get_xq(){
      this.$axios.get('users/xqM?name='+this.name+'&userid='+localStorage.getItem('userid')).then(res=>{
        this.xq = res.data.list

      })
    }
  },
  mounted() {
  this.get_xq()
  }
}
</script>

<style scoped>

</style>
